﻿using Core.IServices;
using Library.Helpers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UnitTests.Library
{
    [TestClass]
    public class ReflectionHelperTest
    {
        [TestMethod]
        public void ReflectionHelper_InterfaceScan_Can_Find_Interfaces()
        {            
            var list = ReflectionHelper.InterfaceScan<IReadStaticCacheService>("CMS.Core");
            Assert.AreEqual(true, list.ToList().Count > 0);
        } 
    }
}
